// 此文件用来混入可以关闭标签页面的逻辑 要关闭页面只需在方法执行  let tagName = this.current; this.close({ tagName });
import { menuBuLttonList } from '@/api/base.js'
const BtnMixin = {
  data() {
    return {
      btnList: []
    }
  },
  methods: {
    async menuButton_list() {
      // console.log(this.$route.path);
      const path = this.$route.path
      const res = await this.$http.post(menuBuLttonList, { path })
      // console.log(res);
      this.btnList = res.data.lists
    }
  },
  created() {
    this.menuButton_list()
  }
}
export default BtnMixin
